package com.rmb.system.controller;

import com.rmb.mart.entity.linxi.RmbSystemTake;
import com.rmb.system.service.RmbSystemTakeService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * (RmbSystemTake)表控制层
 *
 * @author makejava
 * @since 2021-01-20 15:17:38
 */
@RestController
@RequestMapping("rmbSystemTake")
public class RmbSystemTakeController {
    /**
     * 服务对象
     */
    @Resource
    private RmbSystemTakeService rmbSystemTakeService;

    /**
     * 通过主键查询单条数据
     *
     * @param id 主键
     * @return 单条数据
     */
    @GetMapping("selectOne")
    public RmbSystemTake selectOne(Long id) {
        return this.rmbSystemTakeService.queryById(id);
    }

}